const setpromise = data => {
  return new Promise((resolve, reject) => {
    resolve(data)
  })
}
const getTableData = () => setpromise({ status: 200,
  data: {
    total: 100,
    data: [
      {
        Id: parseInt(Math.random() * 100),
        group: 'ALARM',
        version: 'redis_3.2.3-1.5'
      },
      {
        Id: parseInt(Math.random() * 100),
        group: 'ALARM',
        version: 'redis_3.2.3-1.2'
      },
      {
        Id: parseInt(Math.random() * 100),
        group: 'ALARM',
        version: 'redis_3.2.3-1.3'
      },
      {
        Id: parseInt(Math.random() * 100),
        group: 'ALARM',
        version: 'redis_3.2.3-1.5'
      }
    ]
  } })
export {
  getTableData
}
